package com.sky.mapper;

import com.sky.dto.GoodsSalesDTO;
import org.apache.ibatis.annotations.Mapper;

import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;

@Mapper
public interface ReportMapper {

    //获取特点时间的营业额度
    Double getTurnover(Map map);
    //用户总数与用户特定区间增长数量统计
    Integer getUserIdCount(Map map);
    //订单总数与有效订单统计
    Integer getOrdersIdCount(Map map);
    //top10 热卖品
    List<GoodsSalesDTO> getSalesTop10(LocalDateTime begin, LocalDateTime end);
}
